# $Id: PKGBUILD 182010 2013-04-05 08:57:37Z svenstaro $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=kde-wallpapers
pkgver=4.10.2
pkgrel=1
pkgdesc="A set of wallpapers for KDE"
arch=('any')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kde-meta' 'kdebase')
makedepends=('kdelibs' 'cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('5919c022631560f32fb660d2ac6cb4ea2017389a')

package() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make DESTDIR="${pkgdir}" install
}
